import request from '@/utils/request'

// 获取个人信息
export const getUserInfoDetail = () => {
  return request.get('/user/getUserInfo')
}

// 用户注册
export const register = (fromData) => {
  console.log(fromData)
  return request.post('/user/register', fromData)
}
